﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DangNhap.ascx.cs" Inherits="Control_DangNhap" %>
<style type="text/css">
    .dangnhap1
    {
        width: 200px;
    }
    .dangnhap2
    {
        width: 100%;
    }
    .dangnhap3
    {
        height: 19px;
        width: 200px;
    }
</style>

<table border="2px" cellpadding="0" cellspacing="0" class="dangnhap1">
    <tr>
        <td>
            <asp:Panel ID="PannelChuaDN" runat="server">
                <table align="center" cellpadding="0" cellspacing="0" 
    class="dangnhap2">
                    <tr>
                        <td class="dangnhap3" width="80px">
                            Tên Đăng Nhập :</td>
                        <td class="dangnhap3" width="120px">
                            <asp:TextBox ID="txtTenDN" runat="server" Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="80px">
                            Mật Khẩu:
                        </td>
                        <td width="120px">
                            <asp:TextBox ID="txtMatKhau" runat="server" Width="120px" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="dangnhap3" width="80px">
                        </td>
                        <td class="dangnhap3" width="120px">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" class="dangnhap3" colspan="2" width="80px">
                            <asp:Button ID="btnDangNhap" runat="server" Text="Đăng Nhập " 
                                onclick="btnDangNhap_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" class="dangnhap3" colspan="2" width="80px">
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                NavigateUrl="~/TrangChu.aspx?dangky=dangky">[Đăng Kí Thành Viên]</asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="80px">
                            <asp:Label ID="lbLoi" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Panel ID="PanelDaDN" runat="server">
                <table align="center" cellspacing="1" class="dangnhap2">
                    <tr>
                        <td width="100px">
                            Chào Bạn:
                        </td>
                        <td width="100px">
                            <asp:Label ID="Chao" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="100px">
                            Tài Khoản:
                        </td>
                        <td width="100px">
                            <asp:Label ID="lbTaiKhoan" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="100px">
                            <asp:Button ID="btnThoat" runat="server" onclick="btnThoat_Click1" 
                                style="height: 26px; width: 48px" Text="Thoát" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="100px">
                            <asp:HyperLink ID="HyperLink4" runat="server" 
                                NavigateUrl="~/TrangChu.aspx?noptien=NopTaiKhoan">Nộp Thêm Tài Khoản </asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="100px">
                            <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">[Đổi Mật Khẩu]</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="100px">
                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
</table>

